/*
 * gameRules.h
 *
 * This contains constants for Retro Warfare
 *
 *  Created on: Dec 15, 2011
 *      Author: Jonathan Marokhovsky
 */

#ifndef GAMERULES_H_
#define GAMERULES_H_

/* Server information */
#define SERV_IP		"239.141.188.1"
#define SERV_PORT	23000

/* Size Constants */
#define MAP_WIDTH		46
#define MAP_HEIGHT		16
#define INSTRUCT_HEIGHT	1
#define PL_INFO_HEIGHT	5
#define TOTAL_HEIGHT	(MAP_HEIGHT + INSTRUCT_HEIGHT + PL_INFO_HEIGHT)



/* For messages */
#define ACTION_FLAG	"*"
#define EXIT_FLAG	"#"
/* Delimiters */
#define DELIM		"|"

/* User constraints */
#define MAX_NAME_LEN	10
#define IP_LEN			16



#endif /* GAMERULES_H_ */
